/**
 * 
 */
package cc.dogtailflower.framework.util;

/**
 * @author cc
 *
 */
public class StringUtil {
	/*
	 * 字符串分隔符
	 */
	public static final String SEPARATOR = String.valueOf((char)29);

	public static boolean isEmpty(String str){
		if(str == null){
			return true;
		}else{
			str = str.trim();
			return str.length()==0 ? true : false;
		}
	}
	
	public static boolean isNotEmpty(String str){
		return !isEmpty(str);
	}

}
